package com.smfx.yxt.service;

import java.util.List;

import com.smfx.yxt.model.StudentCoach;
import com.smfx.yxt.page.Page;
import com.smfx.yxt.reqVo.CoachQueryVO;
import com.smfx.yxt.view.StudentCoachView;

public interface IStudentCoachService {

	int insertSelective(StudentCoach record);

    StudentCoach selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(StudentCoach record);
    
    /**
     * 分页查询老师已辅导记录
     * @param page
     * @return
     */
    List<StudentCoachView> selectCoachListByPage(Page<StudentCoachView> page);
    
    /**
     * 分页查询班主任班级辅导记录
     * @param page
     * @return
     */
    List<StudentCoachView> selectCoachListForClassByPage(Page<StudentCoachView> page);
    
    /**
     * 查询老师待辅导记录
     * @param teacherId
     * @return
     */
    List<StudentCoachView> selectPendingCoachListForTeacher(Integer teacherId);
    
    /**
     * 根据参数查询辅导记录
     * @param queryVO
     * @return
     */
    List<StudentCoachView> selectCoachByParam(CoachQueryVO queryVO);
    
    /**
     * 查询学生辅导记录
     * @param page
     * @return
     */
    List<StudentCoachView> selectCoachListForStudentByPage(Page<StudentCoachView> page);
    
}
